//difference between 'int' and 'double'

#include <iostream>
using namespace std;

int main()
{
	int ivar;
		ivar = 100;
	double dvar;
		dvar = 100.0;
		
	cout << "original value of ivar: " << ivar << "\n";
	cout << "original value of dvar: " << dvar << "\n";
	cout << "\n";
	
	//dividing ivar and dvar by 3
	ivar = ivar / 3;
	dvar = dvar / 3.0;

	cout << "Ivar after division: " << ivar << "\n";
	cout << "Dvar after division: " << dvar << "\n";
	getchar();
	return 0;
	}